{% if url %}
    <a class="button" href="{{ url }}">{{ label }}</a>
{% else %}
    <input type="submit" name="{{ name }}" value="{{ label }}" class="button" />
{% endif %}
